package com.rui.reggie.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : LoginController
 * @createTime : [2022/6/1 15:14]
 * @description : [默认首页控制器]
 */

@Controller
public class LoginController {
    @RequestMapping("/")
    public void index(HttpServletResponse response) throws IOException {
        response.sendRedirect("/backend/page/login/login.html");
    }

}
